import request from '@/utils/request'
const FACEAPIURL = '/plan-producer-server'
  

//工程策划列表

/**
 * 分页
 * @param data
 */
 export function getPageSchemeDetailBySearch(data) {
    return request({
        url: `${FACEAPIURL}/schemeDetail/getPageSchemeDetailBySearch`,
        method: 'post',
        data
    })
}

/**
 * 工程策划表基础详情
 * @param data
 */
 export function querySchemeBasicDetail(data) {
    return request({
        url: `${FACEAPIURL}/schemeDetail/querySchemeBasicDetail/${data.schemeDetailId}`,
        method: 'post',
        data
    })
}
/**
 * 工程策划表基础信息更新
 * @param data
 */
 export function updateSchemeBasicDetail(data) {
    return request({
        url: `${FACEAPIURL}/schemeDetail/updateSchemeBasicDetail/${data.schemeDetailId}`,
        method: 'post',
        data
    })
}

/**
 * 工程策划表版本信息
 * @param data
 */
 export function querySchemeVersionList(data) {
    return request({
        url: `${FACEAPIURL}/schemeVersion/querySchemeVersionList`,
        method: 'post',
        data
    })
}

